package com.mars.module.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.mars.common.request.PageRequest;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 住宿申请请求对象 sys_stay_application
 *
 * @author mars
 * @date 2024-03-14
 */
@Data
@ApiModel(value = "住宿申请对象")
@EqualsAndHashCode(callSuper = true)
public class SysStayApplicationRequest extends PageRequest{



    /**
     * ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 申请人ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "申请人ID")
    private Long userId;

    /**
     * 院校ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "院校ID")
    private Long schoolId;

    /**
     * 宿舍楼栋号
     */
    @ApiModelProperty(value = "宿舍楼栋号")
    private String floorNumber;

    /**
     * 申请日期
     */
    @ApiModelProperty(value = "申请日期")
    private String applyDate;

    /**
     * 状态：1-审核通过 0-审核不通过
     */
    @ApiModelProperty(value = "状态：1-审核通过 0-审核不通过")
    private String status;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称")
    private String createByName;

    @ApiModelProperty(value = "院校名称")
    private String schoolName;
}
